package com.zbkj.crmeb.store.model;


import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zbkj.crmeb.enums.HomeStyleEnum;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 首页个性化配置
 * @Description: 
 * @author daigb
 * @date 2021-09-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_home_style")
@ApiModel(value="HomeStyle对象", description="首页个性化配置")
public class HomeStyle implements Serializable {
    private static final long serialVersionUID = 5071900249288082654L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    @ApiModelProperty(value = "商户id")
    private Integer merId;
    
    @ApiModelProperty(value = "区域类型")
    private HomeStyleEnum type;
    
    @ApiModelProperty(value = "排序")
    private Integer sort;
    
    @ApiModelProperty(value = "区块所在位置 JSON格式")
    private String position;
    
    @ApiModelProperty(value = "条件或链接 JSON格式")
    private String parame;

    @ApiModelProperty(value = "样式和图片 JSON格式")
    private String style;
    
    @ApiModelProperty(value = "是否显示")
    private Boolean isShow;
    
    @ApiModelProperty(value = "活动id")
    private Integer activityId;

    @ApiModelProperty(value = "版本号")
    private Integer version;
    
    @ApiModelProperty(value = "添加时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    
}